#! /usr/bin/env python
# -*- coding: utf-8 -*-

import os,sys
sys.path.insert(0,os.path.abspath('..'))
sys.path.insert(0,os.path.abspath('../../'))

from distutils.core import setup
from TaskServerWin32 import TaskServerWin32
import py2exe,os


includes   = ['spiders','spiders.*']
options = {"py2exe":
               {
               #"compressed": 1, #压缩
               #"optimize": 2,
                "ascii": 1,
                "includes":includes
                #"bundle_files": 1 #所有文件打包成一个exe文件
               }
}

setup(
    options    = options,
    console=[{"script":"task_server.py","icon_resources": [(1, "skeleton.ico")]}],
    data_files = [(".",["logger.conf", "task_server.conf"])]
)


